Add ratio unit.
Add tests for ratio unit.
Merge branch 'feature/add-ratio' into develop