Fix warnings during test compilation
Some dead imports, but mainly rust treats each test module as its own compilation target, and therefore cannot see that common functions are actually used in tests.
Some dead imports, but mainly rust treats each test module as its own compilation target, and therefore cannot see that common functions are actually used in tests.