Constructing test instances.