deleted Scanner test code