Fix cancel scheduled job test by adding 1 ms to schedule time
Refactor to better separete collected data, collector of data samples, and service