Added test script and moved db to monitor