Added test #6045