Add tests for the new condition and statement API functions.