Remove obsoleted code
Refactor test loader. Create interface to control loading of test for different database backends