Adding headers to the response

Changing the README for 0.3.1
Changing the test case.
resolve conflict in test