fixed errors with the service / controller unit tests