Moved jdbc properties and fixed unit test.