Fixed tests. refer to Git issue #188.
Merge branch 'newRegressionTests' of https://github.com/marklogic/java-client-api into newRegressionTests
Changed test methods to handle ResourceNotFoundException