added test for receive data not in callback closure