added test for get/set total rows
added test for total rows extraction from api headers