Tests

Ran the tests you wrote and they all passed. I commented out the line
that adds the random number for the tests because it could not
accommodate that.