Cleaning up some test cases
Adds test for issue #1331
Working on the 'checkAccess' for secure pages
Test updates