Added a test for the parser having access to the spark