server side unit test for registerNewUser when user already exists, also remove in-memory user list inherited from prototype