fix test & autoformatting