Added unit tests for RcmRotatingImage