schedule(with tests) fixed, feww event api tests and fixes