gitignore: added .cache
started to fix readonly issues
some tests
readonly bugfixes

this should fix #69 on github