implemented support for test dependencies with generic types