added some real tests and refactorings
Merge https://github.com/benediktarnold/owfs