Add complex dependency resolver test