extract creatTimePosition, add unit test for extracted method.
fix 'unused import' warnings
adjust integration tests to Junit 4 annotation-style