fix(build): fix test coverage and refactor hover info