Add api tests

API:
tests successful startup
tests that WS server exists by connecting to it

Front-end:
Starts mock API server
tests startup of frontend
Tests that frontend is providing a WS server

Not tested yet - any messaging. However, keeping branches short-lived.