Add a unit test and surefire plugin for widget archetype

Change-Id: Ia704ddc0d3cbd9bbabaeb4042395f1745894d35b