Fixed a mistake in the Spec and fixed undefined returns in Array.item