Formation evaluation of carbonate rocks