added junits for scheduler