Tests: Make sure all threads get the current app trap