Added a regular expression to check for escape characters in object names.
Re-enable deleting shared tests

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>