added test for passing constructor arugments to original constructor