add some tests & fix breakingTime
change initial state generation process.