Update submodules. Add regression tests.