public function testClearTest()
    {
        $files1 = array('1.js', '2.js');
        $files2 = array('3.js', '4.js');
        Yepnope::add_files($files1, null, null, 'ClearMe');
        Yepnope::add_files($files2, null, null, 'ButNotMe');
        Yepnope::clear_test('ClearMe');
        Yepnope::eval_yepnope();
        $scripts = Requirements::get_custom_scripts();
        $contains = <<<JS
        "load": [
            "3.js",
            "4.js"
        ]
JS;
        $notContains = <<<JS
        "load": [
            "1.js",
            "2.js"
        ]
JS;
        $this->assertContains($contains, $scripts);
        $this->assertNotContains($notContains, $scripts);
    }