add some junit test, just as a sample