New test case for scanner; toString for ScanResult.