Add ddg-test and fix old tests from depracated mojo functions