Optional test deps

Addresses #48.