Fix tests for lingering promise in before action filters