make code style in test consistent