Fix Array and Float serializations, and add test case covering generation of these types.  Fixes #14.