'Test limiter with bad offset or limit values
This test includes next test cases:
1) Offset key works with a blank offset;
2) Offset key works with a offset out of range;
3) Offset key works with a BAD offset;
4) Offset value is negative;
5) Limit value is bad;
6) Limit value is negative value.
7) With both offset and limit;'

@ddt.data('/?offset=', '/?offset=123456789012346456', u'/?offset=    aa', '/?offset=-30', u'/?limit=hello', '/?limit=-3000', '/?offset=30034522235674530&limit=10')
def test_limiter_bad_offset_or_limit_values(self, value):

    req = webob.Request.blank(value)
    self.assertRaises(webob.exc.HTTPBadRequest, common.limited, SMALL, req)
