C++ified tests.