test(api): refactor driver api reject tests to reduce duplication
Merge pull request #248 from thgreasi/rejectTestsRefactor

test(api): refactor driver api reject tests to reduce duplication