add more tests for transform directions and lessen strictness to account for minor rounding