Fixes spike test

The inputs are going to be arrays so the single variable inputs need to be referenced from the first element of the
array instead of raising an error.
Merge pull request #22 from ooici/fixes

Fixes spike test