removing unused import
small tidy up of dependencies, also making spec test dependencies compile dependencies to fix ##522