add period flush test