test app fixes
minor fixes in test app and buffer lib