added array and hash tests