Fix eunit tests

This pull fix the eunit tests for jn_schedule.