Added absolute path support and some tests