More JUnit tests.
Included JUnit tests with 92.7% code coverage
Applied checkstyle