Better tests, fix missing test dependency