testing permission awareness