Test and stub modulo from tuple.