fix for testing in non-Debug
Merge pull request #2 from dbones/master

update for unit tests