test for the null case too (yay, 100% test coverage)