implementation of service test case and configure h2 db