Fixed a typo.
Moved API to header, added tap test helper and script support [WIP]
Added some more C++ tests.