added test to check for trac env removal on project deletion and fixed said functionality