Added new (C++) tests.