added unit test for USER command
centralized sent server data check
added test for authentication event
added test case for stat command
added test case for QUIT command