Run test_RNS to test the RNS algorithm, and test_S3 to test the S^3 algorithm. 