Added test to check iris.on iris.off with invalid functions