Moved scheduler to test folder