Write test to see if client is getting right messages