Fix problems with tests

Now it's required to set a correct object for getRow. array() is not
allowed anymore.