Added a new test as well as the apply function. Changed name back to revsim.