binhmt testing and conditions checking