fixed test: re-register a system to different env

Content-view needs to be promoted when user tried to register a system with env other than lib.