update dependency loading
add test for expanding with wildcards
fix