fixed test permissions