added spec to make sure we can deal with arrays as input values