Add test for simple not-in-range.
Fix upper and lower bound initialization.