better dependency tests