constructor test added to nb-sample project