test with push and pop but found some foundmental bug