Add test project
Add some test cases.
Avoid to send events and tags with null name
Change return value of Preference#fetchClient to null when no data are saved.