add test for getReversedData method.