updated tests and fix

test start document marker