test that returning an empty array is not an error