Fix small issue in constructor test