add tests for import creation

ensure that the same event or alarm is not created twice in case of imports