(PUP-4017) Add spec and integration tests
In order to prevent regressions, write to spec tests to ensure
that the parser setting can be set per environment. In addition,
add an integration tests that ensures the correct parser is used
to compile code when set for an environment.