Fixed mock object that caused test false positives