Test case for PUB-862.
Test cases for PUB-863, PUB-864.