Fix test with command line options