- Added permission tests
 - Fixed permission tests