rateDAO implementation and test done.