MULE-6966: Test polling
Added tests for poll, fixed dependencies on Schedulers Module and added testing class for invalid parameters configuration.