One thing worth trying is a side-by-side comparison around kotlin and result. Keep the input the same and change only the part you're testing. It makes the difference much easier to spot. If it works twice in a row, then I would start expanding the test.