update test/.rbuildrc and related test
update resource base path setting logic