fixed callbacks  repository tests