Adding unit test for passing through error when dropOnError is false or not defined