Added tests for stored procedures