removed the hardcoded parsing of operation stats; also improved test cases