@Test
public void testComments() throws ParserException {

    ScenarioParser parser = new ScenarioParser("# Comment\n"
        + "var x = 5; # Assigns 5 to x\n"
        + "\n\n"
        + "var y = 10;");
    parser.readScenario();
    assertEquals(5f, parser.variables.get("x"), 0.0001);
    assertEquals(10f, parser.variables.get("y"), 0.0001);
    parser = new ScenarioParser("# Comment");
    parser.readScenario();
}