revise unit test bat2