fixed timestamp error and added pest