code style fix
Added empty relative path support and fixed corresponding tests
Completed exception unit tests