Added a test (written by @andrewzah) for the MR