removes config file from test dir and renames test.js file