Add grunt tests and fix bootstrap.php