Migrated project to Gradle. Partial test migration to JUnit.