Basic tests for API resources.