Tests for java.util.Scanner