fixed tests failing with clang3.3+