doctrine test