Fix messed up test flags in test.sh