[minor] prepare tests and add docs