Fix contacts_controller_test and rewrite some abilities