feed rate_of_return to statistic table and add unittest