Initial set of tests for permission checking
Merge pull request #2059 from daviddavis/api_permission_tests

Worked on filter controller permissions tests