Fixed some import optimizer tests.