move all core unit tests to tests/unit
and docs
C level unit testing and micro benchmarking framework, including one example unit test.