test: outputSpec: add finishes with error, if "outputType" option is not one of: "text", "auto", "json", "bytearray"
test: add inputSpec.js