kernel code test: move the resource related code to a dir
kernel code test: move list related code to list dir