WIP: tests with mercury