Updated Couchbase check and corresponding unit test

This PR replaces the original PR referenced in issue #690, which, due to a bad branching strategy had to be discard.

Each comment in the original PR has been addressed, including style and flow changes, check naming conventions, and unit test coverage.