Putting computation of JNItestNotif in main.cpp