Ensure you are not running a local postgres server (such as the Postgres app for OSX).
Start up / tear down the local network:
> ./bin/local up
> ./bin/local down
Then to run all the tests, in a separate window:
> sbt test
To run a specific test:
> sbt
> test:testOnly tests.simulation.StartupSimTest