Add tests for Mallard backend.