Added ability to add other dependencies in array format and more tests