Wrote basic tests
Finished the tests for now
Added the permissions class
Test a few more combinations