Trying to write tests for lazy connecting. They fail so far.
The problem was that I didn't select a db :D
Use methods for determining whether the conn in mysqli
Added some more connection tests