Removed unrequired dependencies
Fixed a test