added BinaryAveragerTest.java