fixed some tests and dependencies