console based application testing redis functionality and golang