Fix error when simpletest module is not enabled.