Fix parsing logic around resave option

closes #44
deps: update test dependencies
1.2.1