add filesize test to BufferStateTrace.java