Add beginnings of test suite.
Correct imports in logfile.