Fixes test errors

Note, I've disabled test `testTooLarge()` since in my setup, there is no limit (or it's
very very large).