adding test for scheudler rest and updated framework accordingly