Modified invoice manager tests to use Mock.