Add add_test_dependency method to Specification