Accept database connection options

Added a test, let's see what happens when it hits Travis!