Ajax cache key after each fetch
Add tests for search controller
Permission tests for resources