Added some tests for condition dependencies.