fixing test call back