fixed tests and dependencies