renamed TP type to SqlCommand
moved ResultSet type ctor test to the bottom