Fix test suite for clang