'Checks that bound checking works.'

def test_limits(self):

    self.assertRaises(AssertionError, jsonable2thrift, dict(a_byte=128), TestManyTypes)
    self.assertRaises(AssertionError, jsonable2thrift, dict(a_byte=(-129)), TestManyTypes)
    self.assertRaises(AssertionError, jsonable2thrift, dict(a_byte='not_a_number'), TestManyTypes)
