Added testing for func client error.