test on doctrine