Fixed flag tests