first basic tests
wrap task-functions within try-catch to give feedback if an error occures
and to delete the "task currently running" status reliable
added exports for tests
fixed "bug" which would cause months not to match the */# notation as one
would expect (because of js-dates start with month 0)
explicitly check if there is something behind the */ notation