Issue #376 - throwing an exception here was causing issues with test.

https://github.com/couchbase/couchbase-lite-android/issues/376
Issue #376 - enable test and do minor changes

https://github.com/couchbase/couchbase-lite-android/issues/376