Add support for test packages; addresses #3