stubbed in tests for lo/hi, added wrap around behavior