fixing tests and removing unrequired dependency