added second test, testing for returned array