Move tests to groovy package to be able run tests on gradle test task.