Added doctrine tests