LeaderServiceTest for registration with using JDBCTebmplate and test
database