- add Makefile for cxxtest
- adopt test to new buffer wrapper