Routes & its unit test for ranges

Signed off by: Fellipe Souto Sampaio <fllsouto@gmail.com>