Move test-runners has_feature() function to plugin loader