Unit test for Beanstalk

Conflicts:
	unit-tests/phpunit.xml
Fix #1612; fix #1348