Add unit test
Update Unit testing
Fix some imports
Check possible URI when parsing name.Fix #1