test: fix to explicitly request data
implement hasPendingData()