Tests using unittest can be run as a module if unittest.main() is
called.