test infrastructure improved

the test server correctly starts, with correct configuration and setup
its own databases