Avoid exception if test dependency is missing