Added tests for #offset