added gun test command line switch