improve: change timing to timings
feat: add unit test