Add tests for server.
Fix typo in config file error message.
Merge branch 'feature/issue-8-tests-for-server' into develop