refactor test for magic form
refactor test for magic form
refactor test for magic form