Parse zrange and zrevrange as objects
Added tests for zrange, zrevrange