Fixed RUnit test and R Check warning.