NPM module with required field tests