Add tests for file() method.
Fix reset() method.
Add tests for reset() method.
Update MANIFEST file.
Fix bad check in reset() method.
Another fix of reset() method and tests.
Add TODOs.