add test, but NULL definition is something wrong