testing entity works