fix fs test due to path restriction
implement & test normalize() + move equality test
code reformat