add ms timeformat and more tests

Signed-off-by: Stephen Gran <stephen.gran@piksel.com>