Docs and tests

Signed-off-by: Christopher Ewest <christookar@web.de>