*added test conditions to work against
*added input validation for string array (correct format, single dependency)