RSI unit Test