We have to refactor current messy "test" package into real unit tests which can be used as a piece of documentation.