inspect test and improvements