Implemented automated tests for user validation