Fix the unit test failure on atomic

Change-Id: I24fbce094903eb17ec50280c0118cfcbe5abb878
Reviewed-on: http://review.couchbase.org/31712
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>