testResource, debug off, fixed encoding in test