Updated routes configuration, added some routes' tests.