add list merge and function test