If we're going to add more checking like this, can we at least cover it with unit testing?