remove a bunch of tests and dead code/deps