Upgraded to modern Mantle transformation API. Unit tests pass now!