Moved email, nickname and password validation to separate methods.
Added unit tests for refactored methods
Resolved testing errors
Added newlines at the end of the file
Merge pull request #95 from zeldanerd24/validation-refactoring

Resolves #90