updates readme
adds flush and flush tests