Add tests for checkNym, fixes #35