adding tests that throw Error in ratpack script