test response send

Added test for the send() method.