fix for optimistic locking, @Version on property
externalize optimistic locking from Main into a test