Add sanity check tests.
Allow '-' in versions.

Improve test by checking for presence of version identifiers in error messages.
Merge pull request #8 from 4teamwork/deif-add-sanity-check-tests

Add sanity check tests.