Unit tests for Response class