Test of MagicalRecord