added test for multiple instances

Signed-off-by: Patrick Meier <patrick.meier111@googlemail.com>
Merge pull request #2 from atomic111/master

added test for multiple instances