Testing with console statements