userRepo tests and mysql_repository additions