Add unit test for stack initialization and empty stack