Test for complex constructor.