exquisite: some improvements and fixes
test: add a new test for constants in heads