Fixed failing tests.
Added tests pertaining to undeleting an issue, plus other miscellaneous areas.