test permissions