Test for PUB-149.

Fix was already pushed as 6a36dd63c3312553581919ade2eec1fe5d9e7657