added a couple more tests
added content length validation and test