Modifying test cases to take into consideration the new #ddg.function value