Made the tests work in bin