tests: fix throwing assertion.
Merge pull request #1 from stephenplusplus/master

tests: fix throwing assertion.