added script to build and run all tests.
added template.
added cpptest. for now, mac only.
added example tests.