Write feature tests for permissions