Created Mock Database class extending off of Database.php and wrote tests for it and some for user class