Unit tests, extended documentation