constructor also tested.