Tests - don't run chmod under root

for tests using chmod to simulate permission problems, refuse
to work if ran under root. there are no permission problems
under root
Journal version B - implement parsing

Journal version B/C parsing prepared. Version 'A' code adjusted. Tests added.