Added unit tests for scanner.