unit test based function recommendation