Adds spec for setting int arrays