Golang testing terminal output with example