First basic tests for the Loop server API

This introduces a foundation for unit testing the server API.