Added javadoc for test method and removed imports to stuff not used.