Further fixes the invalid test