Adding new IR testing code