Added parse_epoch method.
Added tests for epoch parsing.