Add tests for the form resetting

Signed-off-by: xiaojunwu <xiaojunx.a.wu@intel.com>
Resolve issues and add tests for the select element with multiple attribute
Add assertions according to review comments
Merge pull request #550 from xiaojunwu/submission/xiaojunwu/resetting-a-form

Add tests for the form resetting