some more tests for procedure building
basic error handling