Man faces court for assault after woman loses baby