Removed custom code for tests and reuse CMake subtree.

Bumped gitexternals.