added test for reading partition leader

* moved to maven