added buffer test
cleanup