update tests, checking for correct buffer/copy usage