Filling in Stack iteration interface and test client