test for contactApi