Used getManager and not deprecated getEntityManager and fixed runTest phpdoc