Added support for resource tests