added config line for test databases needed by new rails
fixed infile factory and cleaned up a bit