first test for en/decoding Data with multiple basedOn keys