Fix tests and youtube directive