jetty takes a while start-up and it looks like its not started in time for the tests to be run as there are connection refused errors all over the place, so attempting to give jetty more time to start by doing a couple of the db related tasks before running the tests. If this doesn't work then I'll need to write a custom rake task to continuously poll jetty to see if its running or not