renames test helper fn; removes assertion in lib.php and replaces it with a test for empty response