Added unit tests to verify the back-end behavior of the validation added on the form