fix dll dependecy
Improved test