(PUP-3897) Add acceptance: ensure new environment picked up by agent
in PUP-3755 there are two scenarios that lead to a newly classified
agent not picking up its new environment. This test will catch the case
in which a broken but non-assigned environment is parsed and causes
errors or warnings.