[wip] tests
[minor] make sure server is up before running tests
[fix] turns out this wasn't a good idea…