ported triplestore_test to midje