Submodules updates
Add unittest for range checking