Add missing tests for Ember.DAG

I am not sure sure hoy to tag fixing the absence of tests.
Merge pull request #5354 from cibernox/test_ember_dag

Add missing tests for Ember.DAG