Added a test case for maximizing bb