Refactor BirtCompTest.java

Signed-off-by: xinzhao-acutate <xzhao@actuate.com>