Add test case for Phi nodes, and fix compile error.