fixed a test bug