More unit test on cache cluster

Hello @nicks, 

Please review the following commits I made in branch 'xiao-more-test'.

9ef983ffff47d02b12618baec25d8476c25a7c17 (2014-01-16 12:18:25 -0800)
More unit test on cache cluster

R=@nicks