Testing with variable dependencies