Add test for timestamp parsing

Signed-off-by: Sharif Olorin <sio@tesser.org>
Fix scaling bug in timestamp parsing

Signed-off-by: Sharif Olorin <sio@tesser.org>