Test for constructor overloading