add test for wlEntity