fix nuget package

I have fixed package nuget and add integration test.
What's the point with inheritance ?