MagicalRecord tests