There are no unit tests to ensure that array types encode and decode properly; I need to fix this as well.