add `bw repo test`

#88
improve docstring