Added documentation & unit tests to https://github.com/sonata-project/SonataAdminBundle/pull/174