corrected mistake in unit tests + modify key checking in array
Merge pull request #79 from stephaniefaureadfab/develop

corrected mistake in unit tests + modify key checking in array