Add a test for BSONRegex