JUnit tests for userName