Added missing validation and tests
Renaming variables for consistency
Removing unnecessary variables
Moving method to set nick name in the settings using robolectric to a utility class
Adding missing tests