Fix SMOKE test

Fix some errors in counting the RTD raw values