Finish IOSIAP feature

 	Feature #5363  finish IOSIAPTest.js now it can work