Added unit testcases for conditional formatting.