DATAMONGO-907 - Assert compatibility with mongodb 2.6.

Fix test to only check on parts of the expected error message common in both 2.4 and 2.6.

Original Pull Request: #166