made test for dual dependency that is out of order
fixed bug with multiple dependencies