Fix a bug in ni_testbus_env_merge()

Signed-off-by: Olaf Kirch <okir@suse.de>
Make the setenv stuff work and test it

Signed-off-by: Olaf Kirch <okir@suse.de>