Added test for getRequiresAttributes(sess, List<Service>, resource)