Added test & doc for DoctrineBaseManager

Added basic test

Added doc for DoctrineBaseManager