Adjusted unit tests, added description to docs