fixed dup entry point
dup test updated, added inMemoryFs test
Devices fs right offset handling