Fix bugs on junit test cases of towers.