Strip the accept header value.
Use to_s instead of strip for accept header.
Added tests.
Silenced tests.
Merge pull request #151 from nevesenin/master

Strip the accept header value.