Adds test to verify locking issues with coverage
Changes default file-mode to read-only for coverage operations
Merge pull request #1396 from lukecampbell/mode-fixes-r2

OOIION-1357 Coverage Model Deadlock