added http common responses
added test case for throwed exception