Fix buffer operators, add tests