Added a test-case for spark in MetricsRequestParserTest
added missing break statement in switch case