Initial work on tests.