Test that perms are ok