Fixed sha1 test to use empty content type and allowed empty content type