insertBefore Method test sample