Test dependency cleanup