Add specs for all cases of user.name