Cleaning up, documenting and testing Statement objects.

Starting tests against actual database