fix tests
try to fix Between for compact mappings
fix betweenEnd == nil case