Doubt that'd be the case to be honest. It COULD be, I am not 100% sure but it'd seem daft. If a player has been loyal to your club for a long time, he deserves a testimonial regardless of how good he was. Take Steve Harper at Newcastle as an example.
Tried going through the friendly part but there was no option there then at the beginning of his 13th season at my club the board arranged one themselves with Chelsea who I originally bought him from which I won 5-1, unfortunately he didn't get a goal