Add testcase for perl dependencies.