Extract persist_all task logic to PwfmtFormat
Add rspec settings and first test scenario