Wrote an IR test

Also added an autorun functionality to the api for extended files.