Entity and occurance tests