fixed tests for DoctrineRestHelper