added timeout
added unit tests for Response class