fixing the test, not testing  flag because this logic is not yet clear nor done