Properly skip tests with missing optional deps

done_testing doesn't stop the test execution.