test for --list