fixed tests

The tests were failing.  Looks like there use to be a single object returned where now there is an array of objects