Also test for getLastError.