Fix read flag tests and add test for important flag