add contents of shouldCauseError.js