Testing sample conditions