(PUP-3239) Add Integration Tests

Added integration tests to check if $environment in basemodulepath or
environmentpath halts compilation.