fixed failing spec test, should fix travis build
partial fix for restore permissions
Merge branch 'develop' into feature/restore
fixed restoration permissions issue