create and test get customer api action