magic from tests