Fix testcases for proxy of external modules