Add tests for stack api
Add method structure for Stack