Wrote basic test functions for Stack