Wrote some basic tests for user validation and token generation