Add initial tests for nxn_array.

Tests revealed a bug in nxn_array__grow()'s call to nxn_mem_xrealloc().  Bug
fixed.