finished RPS class passing tests