Accepted part of pullrequest #24: Serializable for test-compound JPA-ids