entity extension tests