minor fix about some test cause so that they can run smoothly