major cleanup
Makefile: fix variable name
Makefile: build test against static lib
tests: fix test runner
tests: add tests for cpp_* classes