Updated the test to cover the changes