config.commit in tests.

extracted the separate method for handling routes reading from package

doc update