fix tests according to new constructors