fix logging bug
small fix
Add file path unittests
Pass all tests under Mac OS X 10.10.1, add Xcode project.
Pass all tests under linux (CentOS 6.5)