moved functional tests to a separate app, made the test db isolated