Tests for responses

closes #199