Testing and writing documentation