Fixed up some tests, and XIRR validation error