some test code concerning console usage