Added support for automatically archiving and deleting tests when accessed through the API