fixes in contact-tests; removing addresses when no relation left