Re #6170. Added unit tests for WorkspaceProperty.