cleanup resource base test