Finally made tests for db layer built by Maven