Fixed offsetUnset method
Corrected tests