Code styling, decoupling testsuite

Now if Doctrine isn’t installed the test suite skips the
DoctrineAdaptor test instead of erroring out.