Wrote test 'returns results as a hash with keys :left_tail and :right_tail'