test: add test case for optimized between specify outside of key range