adding tests for the server api :octocat: