Write test for reverse function