More unit tests and ctor call count check added