fixed pending test and amended CustomerRepositoryController