Bugfix: render properly if no addresses
Fix test

The button only appears if the contact is not already 'main', so we have
to change the order of this test a little.