Tests for chapter two

Here are some tests for rate of return and time of return. I would seem that our initial code for calculating them is incorrect.