Add unittests to Array

Addresses #3.
Adds unittests to the Array module.