add composer test and other changes to scheduler