built entry test and entry class