added constructor test