only resume when write returns true
fix test printing for travis
bump version