[MAT-426] Add tests for non domain crossing functions.