add inittest for Stack class