:construction: Add more tests for the server class

Fixes #679. Still a work-in-progress.