move finished at to stage, issue #34
use constants
add microseconds to testcase
use constants
remove unused code
add test for to_dict