add a test that checks for a finishing activity