Added a test for BUG #15048.

Change-Id: Ib2c1c8b34be34f42578780812b5a9bb1b333416a
Merge topic 'test_max' into next

519b6803 Added a test for BUG #15048.