refine test case for Method reference