doctrine test working