1. create separate test src folder
2. add test of getRate()