Cleaned up flag tests.