added more testing for Entity constructor