Save state before processing all page in hash strategy and more tests