fixed etag test
fixing etag and tests
Merge pull request #209 from creighton/master

fixing etag precondition check