doc polished
tests fixed
snapshot