testing for permission granted in callback