Added more unit tests for multiple resources.