[PATCH] kernel32/tests: Split up checks in flush_proc function