wrote some tests for functions starting with 'R' and 'S'
Merge pull request #27 from Apollo117/more_r_s_tests_one

wrote some tests for functions starting with 'R' and 'S'