using an spec mock instead of a manual implemented mock