function list test code