LIB-26: add a simple test with a disc

This basically replicates the testing already done in python-discid.

I implemented several helper functions. That should pay off when adding
more tests and using these in the build test suite.