Update libboks docstrings
Add latency test to unittest