fix nuget package

I have fixed package nuget and add integration test.
class must have visibility set whatever default is.