Adjustments to test configuration for Linux

Added tests to check concordance between return values and error struct
Fixed test for sphinx-build

Reorganised tests
Merge pull request #39 from keithj/devel

Adjustments to test configuration for Linux