add list command test code