JUnit ver.4.x tests added. TODO: add more test.