fixed a test bug on debian 6
fixed a test bug on debian 6