Fixed #131: Fixed segfault in tests

The drumkit pattern xsd file still fails to validate with the QT xml parser, but it seems to be fine with xmllint..