fixed get file relative path.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
add test for load config.rb file.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>