added reflection testing to verify the number of constructors