Add AllowNullLiteralAttribute(false) to erased types with constructors (#645) - Tests