added empty case in login test