fix empty dependency and wrong testcase