function testParseScrollInput()
 {
     $this->assertEquals(ScrollKit::parse_scroll_id('https://www.scrollkit.com/s/1IqDfAD/any/thing'), '1IqDfAD');
     $this->assertEquals(ScrollKit::parse_scroll_id('https://www.scrollkit.com/s/1IqDfAD/edit/'), '1IqDfAD');
     $this->assertEquals(ScrollKit::parse_scroll_id('https://www.scrollkit.com/s/1IqDfAD/edit'), '1IqDfAD');
     $this->assertEquals(ScrollKit::parse_scroll_id('http://www.scrollkit.com/s/1IqDfAD/'), '1IqDfAD');
     $this->assertEquals(ScrollKit::parse_scroll_id('http://www.scrollkit.com/s/1IqDfAD'), '1IqDfAD');
     $this->assertEquals(ScrollKit::parse_scroll_id('1IqDfAD'), '1IqDfAD');
 }
<?php

$options = get_option('scroll_wp_options', ScrollKit::option_defaults());
?>
<!DOCTYPE html>
<html>
	<head>
		<title><?php 
the_title();
?>
 | <?php 
bloginfo('name');
?>
</title>
		<meta name="viewport" content="width=980">
		<?php 
if (get_post_meta(get_the_ID(), '_scroll_fonts', true)) {
    ?>
			<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=<?php 
    echo join('|', get_post_meta(get_the_ID(), '_scroll_fonts', true));
    ?>
">
		<?php 
}
?>
		<?php 
echo get_post_meta(get_the_ID(), '_scroll_head', true);
?>

		<?php 
$stylesheets = get_post_meta(get_the_ID(), '_scroll_css', true);
 function testSanitizeArray()
 {
     $badArray = array('"; DROP TABLE xxx', 'javascript:alert("hi");');
     $sanitized = array('http://;DROPTABLExxx');
     $this->assertEquals(ScrollKit::sanitize_url_array($badArray), $sanitized);
 }
    ?>
</a>

<a href="#TB_inline?height=155&width=300&inlineId=sk-load-scroll"
	class="button thickbox js-sk-disable-on-dirty">
	Use Existing Scroll
</a>
<?php 
} else {
    ?>

<div class="updated">
	<p>
		This post is a scroll.
		<a href="<?php 
    echo ScrollKit::build_edit_url($scrollkit_id);
    ?>
" target="_blank">
			Edit this post with Scroll Kit
		</a>
	</p>
</div>

<?php 
}
?>


<?php 
if ($state === 'active') {
    ?>