test case for no username