add eunit tests for jn_portmonitor and jn_schedule