Remove non-determinism from ISBN code
Beginnings of test suite