Remove unused and star imports from test code.