moved cpp unit tests to tests