added test for multiple instances

Signed-off-by: Patrick Meier <patrick.meier111@googlemail.com>