Removed redundant TestResource class code.