remove additional calls of random.seed
add test for military
fix error message
add more tests