Fix dependencies tests