converted to maven project
added first tests