Test constructor thoroughly