change to use absolute path
add basic test