First bit of unit tests for user.php