Added a unit test for class Stack

fixed #3

Signed-off-by: Ashish Madeti <ashishmadeti@gmail.com>