add testing against "bson" module + add error throwing