Improve missing dependencies tests