Updated doctrine manager test
Updated manager