Some tests fail on osx (el capitan) with valgrind 3.11.0. Without valgrind, no errors are detected. See also #524 and #525.