tests: some fixes
docs