[PATCH 1/2] bluetoothapis/tests: Don't test function directly when reporting GetLastError()