[build][refactor][test] Prepare saripaar for tests

Make canonical gradle form for saripaar library
Add simple unit test