New test cases (half of unit tests), more documentation