added tests for the depends_on method