Added Initial Test Cases for User, Group, and Permission Models. Needed functions were added to gatekeeper.php