Added tests

Addresses #30
This cannot be hard-coded; for example on my work machine, there is something on port 3000, so I cannot run the tests.