fix test
use fancier flag parsing