added some testing and sorting dependencies