move battanalyzer out of tests ...