Adjusted test to reflect new functionality