Fix test so that the new constructor case works