fix failing tests on clang 3.2