Fix project java version.
Fix test directory.
Delete redundant tests.
Modify classes to test them easily.