fix test suites (fixes #762)
build head