Separate test models from production database

Separate test models from production database , models under testapp.mode, should be created and destroyed in the test life-cycle