Added TestCaseGenerator for Stack