fixed tests

Fixed the tests and updated dependancies.