added flush to test that as well