added unit test for megaVideo directive