tests and fixes on movement history
store now correctly deletes killed agents