CB-6516 (re) add missing test harness

- added TestApp
- added some initial test cases
- added bin/tests to execute the tests from the command line