Add test cases for BufferedStack in BufferedStackTests.cs