added method test of contact_controller