Properly skip tests with missing optional deps

done_testing doesn't stop the test execution.
Merge pull request #2 from rafl/optional-test-deps

Properly skip tests with missing optional deps