Fix missing imports on tests.