Add test for tagged export of method.