Add regress test case for MAGN-586