all tests now passing
Added more tests for new file lock feature