fixes, moved ir test driver to testir.c