Fixed MRI dependent stuff in AR tests

Please see the commit messages for context & explanations.

/cc @dbussink @brixen