Adding some unit tests on youtube plugin

I added some tests after the last bug