adjust tests to new pagination pattern

the old tests were returning empty arrays for valid pagination, which is not true anymore. when empty arrays are returned, it indicates to pagination that it should stop. so the tests were adjusted to return some packages or nodes respectively for valid pagination

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>