STY: remove unused import.
ENH: consolidate unittest vs unittest2 import.
BUG: fix duplicate test + missing import.