change constructor to Mock.Spy