Added pending tests for the internal functoins
Ensure IsConnected always returns a boolean
Replace magical __index forwarding function

The existing method wouldn't have worked if the database hadn't
 been selected. These will.
Add some pending tests for database escpation