Added spec to test required flag changes