Since the "Testament of Mary" has no basis in history, or even oral tradition, it's a total work of fiction. And not very well set historically for that matter. However, being a good defender of the 1st Amendment, let the author write what he wants. We don't have to buy it, or his views. Unfortunately, there are a significant number of people who will.