add unit test for cbagent timestamps

Change-Id: I9be0c771909ed7974c7e1665fb170645665ad7c1
Reviewed-on: http://review.couchbase.org/31078
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>