Add tests that melt preserves dimnames of arrays and tables

This is a set of tests for #14 and #22.