Tests for entity with assigned Primary Key