Added unit/integration/selenium tests for username completion