Added tests for condition and extension creation