moved api tests, making room for really server-sided tests