Refs #84 - Test that persist calls update if entity had ID and insert otherwise.