refactor tests to use dart unittest lib
added pub to example