Testing connection to oracle database