- refactored resource unittest #2