Update dependencies script.
Re-organize unittests.