tests fixed according to new constructor