Many code fixes in scheduler, now test-framework works with both python/java test-executors.