test with scheduler
synchronized run method