Coal and minerals testing