added npm 'exam' tests for datagen