lint and fix test