Adding test for socketIO onStatusChange