Add test to check for Beanstalkd exception