Do not print errors in tests
Fix expected error for short tests
Fix parsing logic of short options