Added DoctrineAdapter tests

These are based off the Doctrine test suite itself.