Merge "Added tests to CTS to check permissions are enforced."