Add app status endpoint.
Improve server unit tests.