added test driver for StackClass