I added a test case for ex 5