Improvement for tests

Test in ContactManager improved.
One test is still missing.