restructures test and creates test to csv importer