Fix duplicate contact add in app test (thanks @jaderabbit)