tests: Add lock to prevent unref before initialisation has finished
tests: Add lock to prevent unref before initialisation has finished

tieto/farstream,ahmedammar/skype_farsight2,tieto/farstream,tieto/farstream,pexip/farstream,pexip/farstream,kakaroto/farstream,ahmedammar/skype_farsight2,pexip/farstream,shadeslayer/farstream,shadeslayer/farstream,kakaroto/farstream,shadeslayer/farstream,ahmedammar/skype_farsight2,ahmedammar/skype_farsight2,shadeslayer/farstream,tieto/farstream,kakaroto/farstream,tieto/farstream,kakaroto/farstream,pexip/farstream