Write unit test case for couchbase view creator