Added a test bug fix for demonstration purposes.