extract common setup and count previous resource version saves
Merge pull request #273 from camallen/less_brittle_versioning

less brittle versioning specs