public function testAllowedTag()
{
$tag = new Tag();
$this->assertTrue($tag->isAllowed('p', array('class' => 'test')));
$this->assertTrue($tag->isAllowed('img', array('class' => 'test')));
$this->assertFalse($tag->isAllowed('script', array('class' => 'test')));
$this->assertFalse($tag->isAllowed('img', array('width' => '1', 'height' => '1')));
}