entity & tests