Added saveOrUpdate demo test with entity whose id is manually managed