Add test for custom lowering passes.