Add dependencies to libraries

* Specify :group option on defcustom
* Add support for remote autotest