add test case for #16: load resources