add a unitest for the primitive standard structure and fix some issue in finder