Add tests for ApiConstraints
Add test for /api/me.json