update chatserver_test for duplicate_username to take advantage of eunit macros