This module is a perfect candidate for some unit tests.