Changed minimum user name to 3 letters and added tests