Signal's test for removing while dispatch and fix for test case, with correct formatting, #52