Adds tsql unit tests.
Adds api for stored procedures.