last min documentation and additional tests