fix bson doc tests for lists; add support for Regex class