Copied tests from MIRA
commit: https://github.com/curationexperts/mira/commit/3a891ad8808774581a6cf2f689cf3325a374dca4