add double constructor test