fix(mainSpec): does not fully mock the spy