add test on pushValue and pushError.