Add tests for the button element

Signed-off-by: xiaojunwu <xiaojunx.a.wu@intel.com>