Made the tests work with clang