fixing boolean bug and markerFile setup in ManipulationSession, adding unit tests for VersioningState