Correct one tiny bug on a.form plugin and make unit test for.