Fixed the test as per the comments