added test for array with hashes no defaults