Refactor tempest scenarios tests

Moved methods "write_timestamp" and "get_timestamp",
which are duplicated in few scenarios, to the common class.

Change-Id: I527557a3cf3618ffa6589dbd1dbc92f2268ed50e
5 files changed