fixed a bug on test code