Fix buffer and node tests