fix error-catching in nth-prime and queen-attack
Merge pull request #18 from alxndr/fix-more-error-catching-tests

fix error-catching in nth-prime and queen-attack