Add test coverage for BETWEEN