Added test for reversed with a variable