Scanner tests.